package create.builder.demo.food;


import create.builder.demo.pack.Packing;
import create.builder.demo.pack.Wrapper;

/**
 * @AUTHOR LYF
 * @DATE 2022/3/17
 * @VERSION 1.0
 * @DESC
 * 汉堡抽象类
 */
public abstract class Burger implements Item {

    @Override
    public Packing pack() {
        return new Wrapper();// Burger肯定选择Wrapper打包，公用
    }

    @Override
    public abstract int price() ;

    @Override
    public abstract String name() ;
}
